﻿#pragma strict

var holder : GameObject;

function Update () {
	if(gameObject.transform.position.x + 5 < 14){
		Instantiate(holder , Vector2(gameObject.transform.position.x + 5, 5.5), transform.rotation);
		this.enabled = false;
	}
}